package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.MangerWork;
import com.woniuxy.common.entity.MangerWorkExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MangerWorkMapper {
    long countByExample(MangerWorkExample example);

    int deleteByExample(MangerWorkExample example);

    int deleteByPrimaryKey(String workId);

    int insert(MangerWork record);

    int insertSelective(MangerWork record);

    List<MangerWork> selectByExample(MangerWorkExample example);

    MangerWork selectByPrimaryKey(String workId);

    int updateByExampleSelective(@Param("record") MangerWork record, @Param("example") MangerWorkExample example);

    int updateByExample(@Param("record") MangerWork record, @Param("example") MangerWorkExample example);

    int updateByPrimaryKeySelective(MangerWork record);

    int updateByPrimaryKey(MangerWork record);
}